package top.lyjwn.ajui.widget.recycler.base;

import android.content.Context;
import android.view.View;

import androidx.recyclerview.widget.RecyclerView;
import me.samlss.broccoli.Broccoli;

/**
 * 基础的视图项架子
 *
 * @author luoyujie
 */
public class BaseViewHolder extends RecyclerView.ViewHolder {
    private Context context;
    protected Broccoli broccoli = new Broccoli();

    public BaseViewHolder(View view) {
        super(view);
    }

    public Context getContext() {
        return context;
    }

    public void setContext(Context context) {
        this.context = context;
    }

    public Broccoli getBroccoli() {
        return broccoli;
    }
}
